﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace elevator
{
    class carUnit
    {
        carUnit(int min,int max)
        {
            FloorRangeMin = min;
            FloorRangeMax = max;
        }
        car car1;
        car car2;
        car car3;
        int floorRangeMin = -2;
        int floorRangeMax = 40;

        internal car Car1 { get => car1; set => car1 = value; }
        internal car Car2 { get => car2; set => car2 = value; }
        internal car Car3 { get => car3; set => car3 = value; }
        public int FloorRangeMin { get => floorRangeMin; set => floorRangeMin = value; }
        public int FloorRangeMax { get => floorRangeMax; set => floorRangeMax = value; }
    }
}
